package com.ticket.system.domain.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Transient;

import java.math.BigDecimal;

@ApiModel(description = "票务详情对象")
public class OrderDetailVo {
    private Long id;
    @ApiModelProperty(value = "姓名")
    private String userName;
    @ApiModelProperty(value = "证件类型，0:未知，1：身份证，2：护照 3港澳台")
    private Integer idType;
    @ApiModelProperty(value = "身份证号")
    private String idNumber;
    @ApiModelProperty(value = "联系电话")
    private String contact;
    @ApiModelProperty(value = "票号")
    private String ticket;
    @ApiModelProperty(value = "1排1号")
    private String showNumber;
    @ApiModelProperty(value = "状态")
    private Integer status;
    private PerformVo performVo;
    private SessionVo sessionVo;

    private String ticketTitle;

    private Long priceId;
    @ApiModelProperty(value = "票价")
    private BigDecimal money;
    @ApiModelProperty(value = "购买数量（按票价分组统计）")
    private Integer totalNumber;
    @ApiModelProperty(value = "座位区域名称")
    private String areaName;

    @ApiModelProperty(value = "退票状态")
    private Integer refundStatus;
    @Transient
    private String openId;
    @ApiModelProperty(value = "应付")
    private BigDecimal yingfuMoney;
    @ApiModelProperty(value = "减免")
    private BigDecimal jianmianMoney;
    @ApiModelProperty(value = "购票类型 1小程序购票 2后台出票")
    private Integer ticketType;

    @ApiModelProperty(value = "出票类型 0普通票 1团购票 2工作票3赠票 4其他")
    private Integer ticketWay;
    @ApiModelProperty(value = "持票人手机号")
    private String buyerPhone;

    @ApiModelProperty(value = "出票退款状态")
    private Integer refundBackendStatus;
    @ApiModelProperty(value = "位置")
    private Integer xPos;
    @ApiModelProperty(value = "桌号")
    private String tab;

    @ApiModelProperty(value = "排号")
    private Integer rowNo;

    @ApiModelProperty(value = "出票退款单编码")
    private Long idBackend;
    @ApiModelProperty(value = "出票付款 1已付款 2欠款")
    private Integer ticketStatus;

    @ApiModelProperty(value = "退款单出票付款 1已付款 2欠款")
    private Integer refundBackendOrderStatus;

    public Integer getRefundBackendOrderStatus() {
        return refundBackendOrderStatus;
    }

    public void setRefundBackendOrderStatus(Integer refundBackendOrderStatus) {
        this.refundBackendOrderStatus = refundBackendOrderStatus;
    }
    public Integer getTicketStatus() {
        return ticketStatus;
    }

    public void setTicketStatus(Integer ticketStatus) {
        this.ticketStatus = ticketStatus;
    }


    public Long getIdBackend() {
        return idBackend;
    }

    public void setIdBackend(Long idBackend) {
        this.idBackend = idBackend;
    }

    public Integer getxPos() {
        return xPos;
    }

    public void setxPos(Integer xPos) {
        this.xPos = xPos;
    }

    public String getTab() {
        return tab;
    }

    public void setTab(String tab) {
        this.tab = tab;
    }


    public Integer getRefundBackendStatus() {
        return refundBackendStatus;
    }

    public void setRefundBackendStatus(Integer refundBackendStatus) {
        this.refundBackendStatus = refundBackendStatus;
    }

    public String getBuyerPhone() {
        return buyerPhone;
    }

    public void setBuyerPhone(String buyerPhone) {
        this.buyerPhone = buyerPhone;
    }

    public Integer getTicketType() {
        return ticketType;
    }

    public void setTicketType(Integer ticketType) {
        this.ticketType = ticketType;
    }

    public Integer getTicketWay() {
        return ticketWay;
    }

    public void setTicketWay(Integer ticketWay) {
        this.ticketWay = ticketWay;
    }

    public BigDecimal getYingfuMoney() {
        return yingfuMoney;
    }

    public void setYingfuMoney(BigDecimal yingfuMoney) {
        this.yingfuMoney = yingfuMoney;
    }

    public BigDecimal getJianmianMoney() {
        return jianmianMoney;
    }

    public void setJianmianMoney(BigDecimal jianmianMoney) {
        this.jianmianMoney = jianmianMoney;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Integer getRefundStatus() {
        return refundStatus;
    }

    public void setRefundStatus(Integer refundStatus) {
        this.refundStatus = refundStatus;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getIdType() {
        return idType;
    }

    public void setIdType(Integer idType) {
        this.idType = idType;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    public String getShowNumber() {
        return showNumber;
    }

    public void setShowNumber(String showNumber) {
        this.showNumber = showNumber;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public PerformVo getPerformVo() {
        return performVo;
    }

    public void setPerformVo(PerformVo performVo) {
        this.performVo = performVo;
    }

    public SessionVo getSessionVo() {
        return sessionVo;
    }

    public void setSessionVo(SessionVo sessionVo) {
        this.sessionVo = sessionVo;
    }

    public String getTicketTitle() {
        return ticketTitle;
    }

    public void setTicketTitle(String ticketTitle) {
        this.ticketTitle = ticketTitle;
    }

    public Long getPriceId() {
        return priceId;
    }

    public void setPriceId(Long priceId) {
        this.priceId = priceId;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public Integer getTotalNumber() {
        return totalNumber;
    }

    public void setTotalNumber(Integer totalNumber) {
        this.totalNumber = totalNumber;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }


    public Integer getRowNo() {
        return rowNo;
    }

    public void setRowNo(Integer rowNo) {
        this.rowNo = rowNo;
    }
}
